package com.legsem.legstar.jca.socket;

import com.legsem.legstar.cci.LegStarConnection;
import com.legsem.legstar.cci.socket.LegStarSocketConnectionImpl;
import com.legsem.legstar.jca.LegStarManagedConnection;
import com.legsem.legstar.jca.LegStarManagedConnectionImpl;
import com.legstar.messaging.HostEndpoint;

public class LegStarSocketManagedConnectionImpl extends
        LegStarManagedConnectionImpl {

    public LegStarSocketManagedConnectionImpl(
            com.legstar.messaging.LegStarConnection hostConnection,
            HostEndpoint hostEndpoint) {
        super(hostConnection, hostEndpoint);
    }

    public LegStarConnection createConnection(
            LegStarManagedConnection managedConnection) {
        return new LegStarSocketConnectionImpl(this);
    }

}
